package com.dabaozhan.modules.wx_app.entity;

import com.dabaozhan.modules.wx_app.base.AbstractBaseEntity;

import java.math.BigDecimal;
import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author houzhong
 * @date 2018-12-26 18:33
 *
 */
public class SiteOutRecordEntity extends AbstractBaseEntity {

	private static final long serialVersionUID = 1L;
	//用户id
	@NotEmpty(message="userId不能为空")
    private String userId;
    //目的地
	@NotEmpty(message="destination不能为空")
    private String destination;
    //出厂人
	@NotEmpty(message="outName不能为空")
    private String outName;
    //车牌
	@NotEmpty(message="carNo不能为空")
    private String carNo;
	//品类父类Id
	@NotEmpty(message="parentId不能为空")
	private String parentId;
	//品类名称
	@NotEmpty(message="categoryName不能为空")
	private String categoryName;
    //品类
	@NotEmpty(message="categoryId不能为空")
    private String  categoryId;
    //毛重
	@NotNull(message="grossWeight不能为空")
    private BigDecimal grossWeight;
    //车重
	@NotNull(message="tareWeight不能为空")
    private BigDecimal tareWeight;
     //货重
	@NotNull(message="cargoWeight不能为空")
    private BigDecimal cargoWeight;
     //包数
	@NotNull(message="packetNumber不能为空")
    private Integer packetNumber;
    //状态 1已出库，2到厂
    private Integer placeStatus;
    //1未结款 2已结款
    private Integer settleStatus;
    //到厂毛重
    private BigDecimal arriveGrossWeight;
    //到厂车重
    private BigDecimal arriveTareWeight;
    //到厂货重
    private BigDecimal arriveCargoWeight;
    //到厂包数
    private Integer arrivePacketNumber;
    //到厂扣水重量
    private BigDecimal arriveOffWater;
    //到厂扣杂重量
    private BigDecimal arriveOffOther;
    //到厂净重
    private BigDecimal arriveNetWeight;
    //到厂单价
    private BigDecimal arrivePrice;
    //到厂总价
    private BigDecimal arriveMoney;
    //出库流水号
    private String orderSerial;
    //出库图片1
    private String outPic1;
    //出库图片2
    private String outPic2;
    //出库图片3
    private String outPic3;
    //出库图片4
    private String outPic4;
    //到厂图片1
    private String arrivePic;
    
    /**
     * 图片列表
     */
    private List<String> pictureList;

    
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getDestination() {
		return destination;
	}
	public void setDestination(String destination) {
		this.destination = destination;
	}
	public String getOutName() {
		return outName;
	}
	public void setOutName(String outName) {
		this.outName = outName;
	}
	public String getCarNo() {
		return carNo;
	}
	public void setCarNo(String carNo) {
		this.carNo = carNo;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	public BigDecimal getGrossWeight() {
		return grossWeight;
	}
	public void setGrossWeight(BigDecimal grossWeight) {
		this.grossWeight = grossWeight;
	}
	public BigDecimal getTareWeight() {
		return tareWeight;
	}
	public void setTareWeight(BigDecimal tareWeight) {
		this.tareWeight = tareWeight;
	}
	public BigDecimal getCargoWeight() {
		return cargoWeight;
	}
	public void setCargoWeight(BigDecimal cargoWeight) {
		this.cargoWeight = cargoWeight;
	}
	public Integer getPacketNumber() {
		return packetNumber;
	}
	public void setPacketNumber(Integer packetNumber) {
		this.packetNumber = packetNumber;
	}
	public Integer getPlaceStatus() {
		return placeStatus;
	}
	public void setPlaceStatus(Integer placeStatus) {
		this.placeStatus = placeStatus;
	}
	public Integer getSettleStatus() {
		return settleStatus;
	}
	public void setSettleStatus(Integer settleStatus) {
		this.settleStatus = settleStatus;
	}
	public BigDecimal getArriveGrossWeight() {
		return arriveGrossWeight;
	}
	public void setArriveGrossWeight(BigDecimal arriveGrossWeight) {
		this.arriveGrossWeight = arriveGrossWeight;
	}
	public BigDecimal getArriveTareWeight() {
		return arriveTareWeight;
	}
	public void setArriveTareWeight(BigDecimal arriveTareWeight) {
		this.arriveTareWeight = arriveTareWeight;
	}
	public BigDecimal getArriveCargoWeight() {
		return arriveCargoWeight;
	}
	public void setArriveCargoWeight(BigDecimal arriveCargoWeight) {
		this.arriveCargoWeight = arriveCargoWeight;
	}
	public Integer getArrivePacketNumber() {
		return arrivePacketNumber;
	}
	public void setArrivePacketNumber(Integer arrivePacketNumber) {
		this.arrivePacketNumber = arrivePacketNumber;
	}
	public BigDecimal getArriveOffWater() {
		return arriveOffWater;
	}
	public void setArriveOffWater(BigDecimal arriveOffWater) {
		this.arriveOffWater = arriveOffWater;
	}
	public BigDecimal getArriveOffOther() {
		return arriveOffOther;
	}
	public void setArriveOffOther(BigDecimal arriveOffOther) {
		this.arriveOffOther = arriveOffOther;
	}
	public BigDecimal getArriveNetWeight() {
		return arriveNetWeight;
	}
	public void setArriveNetWeight(BigDecimal arriveNetWeight) {
		this.arriveNetWeight = arriveNetWeight;
	}
	public BigDecimal getArrivePrice() {
		return arrivePrice;
	}
	public void setArrivePrice(BigDecimal arrivePrice) {
		this.arrivePrice = arrivePrice;
	}
	public BigDecimal getArriveMoney() {
		return arriveMoney;
	}
	public void setArriveMoney(BigDecimal arriveMoney) {
		this.arriveMoney = arriveMoney;
	}
	public String getOrderSerial() {
		return orderSerial;
	}
	public void setOrderSerial(String orderSerial) {
		this.orderSerial = orderSerial;
	}
	public String getOutPic1() {
		return outPic1;
	}
	public void setOutPic1(String outPic1) {
		this.outPic1 = outPic1;
	}
	public String getOutPic2() {
		return outPic2;
	}
	public void setOutPic2(String outPic2) {
		this.outPic2 = outPic2;
	}
	public String getOutPic3() {
		return outPic3;
	}
	public void setOutPic3(String outPic3) {
		this.outPic3 = outPic3;
	}
	public String getOutPic4() {
		return outPic4;
	}
	public void setOutPic4(String outPic4) {
		this.outPic4 = outPic4;
	}
	public List<String> getPictureList() {
		return pictureList;
	}
	public String getArrivePic() {
		return arrivePic;
	}
	public void setArrivePic(String arrivePic) {
		this.arrivePic = arrivePic;
	}
	public void setPictureList(List<String> pictureList) {
		this.pictureList = pictureList;
	}
}

